#ifndef CLIENTQT_H
#define CLIENTQT_H

#include "stdafx.h"
#include <QtGui/QMainWindow>
#include "ui_ClientQT.h"

class ClientQT : public QMainWindow
{
	Q_OBJECT

public:
	ClientQT(QWidget *parent = 0, Qt::WFlags flags = 0);
	~ClientQT();
	
private:
	Ui::ClientQTClass ui;

private:
	void closeEvent( QCloseEvent * );
	void keyPressEvent(QKeyEvent *event);

public:
	void SetWindowTxt(LPCTSTR str);
	void AddCharacter(int GUID,QString name,int Level,int Camp);

private:
	int m_nCharCnt;


private slots:
	void on_tableWidget_doubleClicked(QModelIndex);
};

#endif // CLIENTQT_H
